package ws.very.util.entity

trait HasId[ID] {
  val id: ID
  override def hashCode = id.hashCode
  override def equals(t: Any) =
    this.hashCode == t.hashCode
}